package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.pojo.KnowledgeSport;

import java.util.List;

/**
 * 知识库-运动库服务接口
 */
public interface KnowledgeSportService {
    //运动库数据批量导入
    public void addAll(List<KnowledgeSport> knowledgeSportList);

    //新增运动库数据
    public void add(KnowledgeSport knowledgeSport);

    //分页查询运动库数据
    public PageResult pageQuery(Integer currentPage, Integer pageSize, String queryString);

    //编辑运动数据
    public void edit(KnowledgeSport knowledgeSport);

    //删除运动数据
    public void delete(Integer id);
}
